package com.zzxy.springSun.text;

import com.zzxy.springSun.service.impl.AccoutServiceImpl;
import com.zzxy.springSun.service.impl.IAccountService;
import com.zzxy.springSun.service.impl.IStudentService;
import org.junit.After;
import org.junit.Before;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import javax.crypto.interfaces.PBEKey;
import javax.swing.*;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = "classpath:beans9.xml")
public class Test1 {
    @Autowired
    private IAccountService accountService;
    public  void test(){
        AccoutServiceImpl accoutService = null;
        accoutService.transer("jack","rose", "1000");

    }
    @Before
    public  void before()
    {

    }
    @After
    public  void  after(){

    }
}

